Optimal. Leaf size=93 \[ \frac {\sqrt {\sinh ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sinh ^{-1}(a x)}-\frac {\sqrt {\frac {\pi }{2}} \text {Erf}\left (\sqrt {2} \sqrt {\sinh ^{-1}(a x)}\right )}{16 a^2}-\frac {\sqrt {\frac {\pi }{2}} \text {Erfi}\left (\sqrt {2} \sqrt {\sinh ^{-1}(a x)}\right )}{16 a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 7, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.700, Rules used = {5777, 5819,
3393, 3388, 2211, 2235, 2236} \begin {gather*} -\frac {\sqrt {\frac {\pi }{2}} \text {Erf}\left (\sqrt {2} \sqrt {\sinh ^{-1}(a x)}\right )}{16 a^2}-\frac {\sqrt {\frac {\pi }{2}} \text {Erfi}\left (\sqrt {2} \sqrt {\sinh ^{-1}(a x)}\right )}{16 a^2}+\frac {\sqrt {\sinh ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sinh ^{-1}(a x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2211
Rule 2235
Rule 2236
Rule 3388
Rule 3393
Rule 5777
Rule 5819
Rubi steps
\begin {align*} \int x \sqrt {\sinh ^{-1}(a x)} \, dx &=\frac {1}{2} x^2 \sqrt {\sinh ^{-1}(a x)}-\frac {1}{4} a \int \frac {x^2}{\sqrt {1+a^2 x^2} \sqrt {\sinh ^{-1}(a x)}} \, dx\\ &=\frac {1}{2} x^2 \sqrt {\sinh ^{-1}(a x)}-\frac {\text {Subst}\left (\int \frac {\sinh ^2(x)}{\sqrt {x}} \, dx,x,\sinh ^{-1}(a x)\right )}{4 a^2}\\ &=\frac {1}{2} x^2 \sqrt {\sinh ^{-1}(a x)}+\frac {\text {Subst}\left (\int \left (\frac {1}{2 \sqrt {x}}-\frac {\cosh (2 x)}{2 \sqrt {x}}\right ) \, dx,x,\sinh ^{-1}(a x)\right )}{4 a^2}\\ &=\frac {\sqrt {\sinh ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sinh ^{-1}(a x)}-\frac {\text {Subst}\left (\int \frac {\cosh (2 x)}{\sqrt {x}} \, dx,x,\sinh ^{-1}(a x)\right )}{8 a^2}\\ &=\frac {\sqrt {\sinh ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sinh ^{-1}(a x)}-\frac {\text {Subst}\left (\int \frac {e^{-2 x}}{\sqrt {x}} \, dx,x,\sinh ^{-1}(a x)\right )}{16 a^2}-\frac {\text {Subst}\left (\int \frac {e^{2 x}}{\sqrt {x}} \, dx,x,\sinh ^{-1}(a x)\right )}{16 a^2}\\ &=\frac {\sqrt {\sinh ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sinh ^{-1}(a x)}-\frac {\text {Subst}\left (\int e^{-2 x^2} \, dx,x,\sqrt {\sinh ^{-1}(a x)}\right )}{8 a^2}-\frac {\text {Subst}\left (\int e^{2 x^2} \, dx,x,\sqrt {\sinh ^{-1}(a x)}\right )}{8 a^2}\\ &=\frac {\sqrt {\sinh ^{-1}(a x)}}{4 a^2}+\frac {1}{2} x^2 \sqrt {\sinh ^{-1}(a x)}-\frac {\sqrt {\frac {\pi }{2}} \text {erf}\left (\sqrt {2} \sqrt {\sinh ^{-1}(a x)}\right )}{16 a^2}-\frac {\sqrt {\frac {\pi }{2}} \text {erfi}\left (\sqrt {2} \sqrt {\sinh ^{-1}(a x)}\right )}{16 a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 52, normalized size = 0.56 \begin {gather*} \frac {\frac {\sqrt {\sinh ^{-1}(a x)} \Gamma \left (\frac {3}{2},-2 \sinh ^{-1}(a x)\right )}{\sqrt {-\sinh ^{-1}(a x)}}+\Gamma \left (\frac {3}{2},2 \sinh ^{-1}(a x)\right )}{8 \sqrt {2} a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.48, size = 75, normalized size = 0.81
method | result | size |
default | \(\frac {\sqrt {2}\, \left (8 \sqrt {2}\, \sqrt {\arcsinh \left (a x \right )}\, \sqrt {\pi }\, a^{2} x^{2}+4 \sqrt {2}\, \sqrt {\arcsinh \left (a x \right )}\, \sqrt {\pi }-\pi \erf \left (\sqrt {2}\, \sqrt {\arcsinh \left (a x \right )}\right )-\pi \erfi \left (\sqrt {2}\, \sqrt {\arcsinh \left (a x \right )}\right )\right )}{32 \sqrt {\pi }\, a^{2}}\) | \(75\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x \sqrt {\operatorname {asinh}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x\,\sqrt {\mathrm {asinh}\left (a\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________